package com.ruoyi.common.enums.filerecord;

public enum FileTypeEnum {

    SQL("sql", "sql脚本"), JPG("jpg", "jpg图片"), PNG("png", "png图片"), MP4("mp4", "mp4视频"), MP3("mp3", "mp3音频"), OTHER("other", "其他文件");

    private final String code;
    private final String info;

    FileTypeEnum(String code, String info){
        this.code = code;
        this.info = info;
    }

    public String getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}
